home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
biz
/
haage
/
WarpUP_V31.lha
/
WarpUP-WarpOS
/
include
/
powerpc
/
semaphoresPPC.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-07
|
680b
|
35 lines
#ifndef POWERPC_SEMAPHORESPPC_H
#define POWERPC_SEMAPHORESPPC_H
/*
** $VER: semaphoresPPC.h 2.0 (15.03.98)
** WarpOS Release 14.1
**
** '(C) Copyright 1998 Haage & Partner Computer GmbH'
** All Rights Reserved
*/
#ifndef EXEC_SEMAPHORES_H
#include <exec/semaphores.h>
#endif
/* SignalSemaphorePPC structure used by PPC semaphore functions */
struct SignalSemaphorePPC {
struct SignalSemaphore ssppc_SS;
APTR ssppc_reserved;
};
/* return value from InitSemaphore and AddSemaphore */
#define SSPPC_SUCCESS -1
#define SSPPC_NOMEM 0
/* return values of AttemptSemaphore */
#define ATTEMPT_SUCCESS -1
#define ATTEMPT_FAILURE 0
#endif